package com.java.reflection.test;

public class Child extends Parent implements InterfaceA, InterfaceB {
    private String childPrivateVar = "ChildPrivateVar";
    public String childPublicVar = "ChildPublicVar";
    
    public Child() {}
    
    private Child(String childPrivateVar) {
        this.childPrivateVar = childPrivateVar;
    }
    
    public Child(String childPrivateVar, String childPublicVar) {
        this.childPrivateVar = childPrivateVar;
        this.childPublicVar = childPublicVar;
    }
    
    private void childPrivateFunc() {
        System.out.println("ChildPrivateFunc");
    }
    
    public void childPublicFunc(String name) {
        System.out.println("ChildPublicFunc");
    }
}
